package tragame.server.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;
import tragame.game.Field;
import tragame.game.Village.Race;


public interface IMap extends Remote {

	public boolean addVillage(String player, String name, Race race, int posX, int posY) throws RemoteException ; 
		
	
	public boolean addVillage(String player, String name, Race race)throws RemoteException;
	
	public boolean deleteVillage(int posX, int posY) throws RemoteException  ;
	
	public int getSize()throws RemoteException;
	
	public String getVillageName(int i, int j)throws RemoteException  ;
	
	
	public int getNbVillages()throws RemoteException ;
	
	public boolean getVillage(int posX, int posY)throws RemoteException  ;
	
	public boolean isVillage(int posX, int posY) throws RemoteException;
	
	public Field getField(int posX, int posY)throws RemoteException ;
	
}
